import constants from '../constants/index';

const {
    GET_RECRUIT_DATA_SUCCESS
} = constants;

export default (state = {}, action) => {
    switch (action.type) {
        case GET_RECRUIT_DATA_SUCCESS:
            return {
                ...state,
                willingCount: action.willingCount,
                sexCount:action.sexCount
            };
        default:
            return state;
    }
};
